package cool.mtc.minghe.service.service.sys.role;

import cool.mtc.minghe.data.model.sys.role.permission.dto.RolePermissionDTO;
import cool.mtc.minghe.data.model.sys.role.permission.form.RolePermissionForm;
import cool.mtc.minghe.service.service.BaseService;

import java.util.List;

/**
 * @author 明河
 */
public interface RolePermissionService extends BaseService {

    void insert(RolePermissionForm form);

    void delete(Long id);

    List<RolePermissionDTO> listPermissionByRoleIdo(long roleId);
}
